package com.fxp.project.jiuselu.web.models.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 拆分发货对象 jsl_split_order
 *
 * @author Jason.Wang
 * @date 2022-06-15
 */
@Data
@TableName("jsl_split_order")
public class SplitOrder implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 订单id */
    @TableField("order_id")
    private String orderId;

    /** 商品id */
    private Long goodsId;

    /** 发货数量 */
    private Long goodsSendNum;

    /** 物流code */
    private String logisticCode;

    /** 物流公司 */
    private String logisticName;

    /** 物流单号 */
        private String logisticNum;

    /** 购买剩余数量 */
    private Long goodsSurplusNum;

    /** 备注 */
    private String remark;

    @TableField(exist = false)
    private String[] goods;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;
    private Long code;




}
